//
//  Define.h
//  SnackCourier
//
//  Created by qianfeng01 on 15/7/17.
//  Copyright (c) 2015年 qianfeng01. All rights reserved.
//

#ifndef SnackCourier_Define_h
#define SnackCourier_Define_h

#import "JHRefresh.h"
#import "YJHelper.h"


#define kScreenSize [UIScreen mainScreen].bounds.size
//首页
#define kHomePageUrl @"http://cmsproxy.lingshijia.com/indexData.do"
//精选详情
#define kSalespromotionUrl @"http://cmsproxy.lingshijia.com/salesProducts.do?topicId=%ld"
//精选详情的详情
#define kSalespromotionDetailsUrl @"http://cmsproxy.lingshijia.com/senceProducts.do?topicId=22&page=0&pageSize=20"
//不知道买什么？
#define kWhatbuyUrl @"http://cmsproxy.lingshijia.com/senceProducts.do?topicId=%ld&page=%ld&pageSize=20"
//不知道买什么的详情
#define kWhatbuyDetailsUrl @"http://cmsproxy.lingshijia.com/productDetail.do?productId=9872&userId=380631457"
//特惠马上抢
#define kImmediatelygrabUrl @"http://cmsproxy.lingshijia.com/productDetail.do?productId=%ld&userId=380631457"


//类别
#define kCategoryUrl @"http://cmsproxy.lingshijia.com/getCate1ListAndProducts.do?limit=8&isRecom=true"
//零食分类详情
#define kClassificationUrl @"http://cmsproxy.lingshijia.com/getCate2List.do?categoryId=%ld"

#define kClassflowerUrl @"http://cmsproxy.lingshijia.com/products.do?categoryId=%ld&isImport=false&sortType=%@&sortOrder=desc&pageNum=%ld&pageSize=20"


#define kdefault @"default"
#define ksales @"sales"
#define kprice @"price"


//类别零食分类详情的详情
#define kClassificationDetailsUrl @"http://cmsproxy.lingshijia.com/productDetail.do?productId=8874&userId=380631457"


//精挑细选
#define kChooseUrl @"http://cmsproxy.lingshijia.com/productDetail.do?productId=5721&userId=380631457"
//更多
#define kMoreUrl @"http://cmsproxy.lingshijia.com/reportList.do?page=0&pageSize=20"
//更多详情
#define kMorelDetailsUrl @"http://cmsproxy.lingshijia.com/productDetail.do?productId=8488&userId=380631457"

#define kSearchPath @"http://cmsproxy.lingshijia.com/search.do?keyword=%@&sortType=%@&sortOrder=desc&isRecom=false&pageNum=%ld&pageSize=20"//搜索


#endif
